import Mock from "mockjs"

const data=Mock.mock({
    "btns|20":[{
        "icons":"@image(30x30,@color)",
        "tit":"@cword(2,3)",
        "id":"@id"
    }]
})

Mock.mock('/api/list','post',()=>{
    return ({
        code:200,
        data:data.btns
    })
})